package com.stlm2.dems.dao.impl;

import org.springframework.stereotype.Repository;

import com.stlm2.dems.entity.Specification;
import com.stlm2.dems.dao.SpecificationDao;
import com.stlm2.core.base.impl.BaseDaoImpl;

import java.util.List;

@Repository("specificationDao")
public class SpecificationDaoImpl extends BaseDaoImpl<Specification> implements SpecificationDao {

    @Override
    public List<Specification> getByGoodId(Integer goodId) {
        return selectList("getByGoodId",goodId);
    }
}